StartCaptureSessionCallback

This callback is invoked when a web page requests permission to start a capture session.

Use the selectSource or the selectSource method to allow the web page to capture the specified source.

Use the cancel method to deny the permission.

If the callback throws an exception, the cancel is automatically invoked.

Since

7.20

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
interface Params
The parameters of the StartCaptureSessionCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.